package b2.config
{
	public class MovieConfig
	{
		//索引
		public var index:int;
		//名字
		public var name:String;
		//动画
		public var imgName:String;
		//帧率
		public var imgFps:int;
		//位置X
		public var imgPosX:int;
		//位置Y
		public var imgPosY:int;
		//宽度
		public var imgWidth:int;
		//高度
		public var imgHeight:int;
		//影片滤镜
		public var movieFilter:Array;
		
		public function MovieConfig(movieXML:XML)
		{
			index = movieXML.index;
			name = movieXML.name;
			imgName = movieXML.imgName;
			imgFps = movieXML.imgFps;
			imgPosX = movieXML.imgPosX;
			imgPosY = movieXML.imgPosY;
			imgWidth = movieXML.imgWidth;
			imgHeight = movieXML.imgHeight;
			
			if (movieXML.movieFilter != undefined)
				movieFilter = movieXML.movieFilter.split(",");
		}

	}
}